                              -
                    


              AT-   -

     AT-     ,
-   .    BIOS   ,
    ,  AT-    
  ST506-         
 .       
ST506: c             
   ,          
,   ROM-BIOS,         
  BIOS     .
               40-
.         
     1.
        (),   IBM PC AT,  -
       ()   
     - (.  2):
     - 16-   - (1F0h);
     -  "Task File"- (1F1h...1F7h);
     -      (3F6h...3F7h).
      1F0h...1F7h       
 /CS0,     3F6h...3F7h    
/S1.       0...2.
            
    3F6h.
      3F2h...3F5h     
    ().  3F7h  PC AT  
    ;   7-      
    ,   0...6     -
 .
           
  ,     ,     
      .    ,  
    ,  -  -
     7-   3F7h.
              --
 PC AT            
 .      PAL-  (-
  ).     -
    .
             ,
    /IOCHRDY      -
 .           ,  
    -    ,  8 .
            
        12    
   /IOCHRDY,  , ,    Conner
 Seagate    .
         - (, Conner CP342)    -
    IRQ14,     
   .         IRQ14,
      /IEN      3F6h.      
        BIOS:      
IBM-BIOS,  Phoenix - .      -
,         
   /ACT    
   .


                . "Master"  "Slave".

       AT-       -
  .             
Master,  -  Slave.    -
      ,    
.
              .      
-Master   -Slave  /PDIAG,  -
,  -Slave     .    
 -Slave (    "Master"),  
/PDIAG  -Slave      ,    -Master
   -Slave       7    
 ( 1F1h),      "  ".
    "Execute Drive Diagnostics" (90h).
        , , , Quantum ProDrive 40AT  80AT
   PDIAG,       
 Master.   ,      -
,  ,  /PDIAG   .
                .
               
 ,          
        .    
      .  -
    4  1F6h.
              AT-
 , , ,    ST-506/RLL: -
     Setup    . 
    ,     ,  
           ,  
   Master  Slave.      
  :
     1.       AT-,     -
  "Single Drive Mode".        
    /PDIAG   .
     2.     ,        
"Master",   ""      /PDIAG  
     (  ,        )
    .
     3.      "Slave"   
/PDIAG.
       3       
      : Conner3114;
Quantum ProDrive 40AT, 80AT,  52AT,  105AT    Seagate  ST125A,  ST138A,
ST157A.


                     AT-

      "IBM Task File"-    
.   RDY  BSY    ,   -
      ,          
      1F0h..1F6h   -
 .   /IRQEN-      3F6h  (,
   IRQ14),       
   1F7h.         BSY  
  "0", IRQ14  ,      
  DRQ-      .
 DRQ=1   /  256  16-  
          .    
DRQ-             ,
      0.
     ,      PC AT, ,  -
,   AT-    DMA (    
  ).    ,     PC
  DMA    ,      
        (Block-Move)  80286-      80386-
 PC    "1 Wait State".   PC  AT  -  
        DMA      
        ,      PC  .    
 -       .  
  , ,  EISA,     
 .


                   AT-.

       "  "  (Format  Track)  (50h)   
16-     .  ,  -
  80h,      ,    00h  -  
,            ,
 ,         (Interleave).
   512       .
 ,     17      Interlave
2:1     : 0100 000  0200  000  0380
000 .... 0900 0000 ....
          3   .
      ,   Format Track   
 ST-506.           
        
  ,      .
                 .  
,   -        
. ,     Interlave (   
   ,   " "
 ).
           ,   
              (Zone-Bit-Recording
 ZBR),       Skewing--
 (.   "    ,    
    ")   
     ,    
       .
       ,    ZBR,    
       
(native Mode)   .    -
              
BIOS.           
  ,        -
    - .
              -
  ,        -
     , -  
   Interlave,       -
   .  (  -
      )      ,
   ,       
.
                
    ,  COMPSURF  (    )
   Novell,      -
 .          -
       .


                   AT-    Laptop

       AT-     
    Laptop,             
     .   2h,  -
,  ,    ,  5--
    1F2H,       
        .  
 ,    , ,      
  ,           
   .
               -
,    Laptop     -
         (      
      ).  
,            
          Laptop      
    ,   , 
      .
             -
   ,     .  -
   (      ) -
           .    
 (      Laptop)   -
  ( )  ,    
   - .

                         1

                   AT-

       XT-  TTL-.
     I/O   .  "I"   
,  "O" -   .   ,    
"/",                     .

  N     |  | I/O |             
|        |     |

2,19,22,|  GND   |     |      .
 24,26, |        |     |
 30,40  |        |     |

   1    |  RES   |  I  |          .

 18,  3 | D15,D7 | I/O |             (8/16
 16,  5 | D14,D6 | I/O | )        
 14,  7 | D13,D5 | I/O |   ,    -
 12,  9 | D12,D4 | I/O |    .  -
 10, 11 | D11,D3 | I/O |        ,  
  8, 13 | D10,D2 | I/O |    .
  6, 15 | D9, D1 | I/O |
  4, 17 | D8, D0 | I/O |

   20   |        |     |       .   -
        |        |     |      -
        |        |     | .

   21   |/IOCHRDY|  O  |           -
        |        |     |       ,    
        |        |     |    (  -
        |        |     |   ).

   23   |  /IOWR |  I  |           -
        |        |     | -.

   25   |  /IORD |  I  |           -
        |        |     | -.

   27   |/IOCHRDY|  O  |       ,    21.

   28   |   ALE  |  I  |      Address Latch Enable:  
        |        |     |     ( 
        |        |     |  ).

   29   |        |     |         .

   31   |  IRQ14 |  O  |      Interrupt Request:   -
        |        |     |   .

   32   |   IO16 |  O  |        16-   -
        |        |     | .

   34   |  /PDIAG| I/O |      Passed Diagnostics:  Slave- -
        |        |     |  Master-,   -
        |        |     |    (     
        |        |     |  Quantum ProDrive 40AT/80AT).

   33   |    A0  |  I  |            -
   35   |    A1  |  I  |   .
   36   |    A2  |  I  |

   37   |   /CS0 |  I  |      Card Select:     -
   38   |   /CS1 |  I  |  .

   39   |   /ACT | I/O |          ,  
        |        |     |   .  -
        |        |     |    , -
        |        |     |    2- .

                         2

                 - AT-

 | /CS1 | /CS0 | A2 | A1 | A0 |  |      | 
(Hex) |      |      |    |    |    |      |    |  

 1F0  |   1  |   0  |  0 |  0 |  0 | 8/16 |      
 1F1  |   1  |   0  |  0 |  0 |  1 |  8   |  | .
 1F2  |   1  |   0  |  0 |  1 |  0 |  8   |  
 1F3  |   1  |   0  |  0 |  1 |  1 |  8   |  
 1F4  |   1  |   0  |  1 |  0 |  0 |  8   |  LSB
 1F5  |   1  |   0  |  1 |  0 |  1 |  8   |  MSB
 1F6  |   1  |   0  |  1 |  1 |  0 |  8   |    
 1F7  |   1  |   0  |  1 |  1 |  1 |  8   |      | 
 3F6  |   0  |   1  |  1 |  1 |  0 |  8   | 2-  |, IRQ-
 3F7  |   0  |   1  |  1 |  1 |  1 |  8   | .  |  

      1F0h.        -
.    ECC-   22h, 23h, 32h  33h -
 16  .    ,     
 DRQ-.

       1F1h  ().      
  .

      1F1h ().     -
      (  ST506--
)  ,   .    
, ,  / -.

      1F2h.    ,  
     .      "Set  Drive
Parameter"        -
.

      1F3h.     .

     MSB 1F5h.   0  1   8  9   -
.

        1F6h.

|   |                               |

| 1...3 |      |

|   4   |  : "0" - Master,       |
|       |                   "1" - Slave         |

| 5...7 | "101"  512 / |


      1F7h ().

|  |  |                                       |

|  0  |   ERR    |      ,   - |
|     |          |   .                            |

|  1  |   IDX    |           - |
|     |          | .                                           |

|  2  |  CORR    |       ,  |
|     |          |     (ECC),.        |

|  3  |   DRQ    |        .                |

|  4  |   SKC    |       .                  |

|  5  |   WFT    |       .                |

|  6  |   RDY    |       (,  - |
|     |          | ).                                         |

|  7  |   BSY    |       .             |

    IRQ14.

      1F7h ().         -
   .

    2-   3F6h ().       
1F7h,     IRQ14.

    ,   3F6h ().

|      |  |                               |

| 0,3...7 |          |  .                      |

|    1    |  /IRQEN  | "0" - IRQ14    |
|         |          |       .                      |

|    2    |   Reset  |  .                    |


      3F7h ().

|   |                                             |

|   0   | "0" -  Master-.                          |

|   1   | "1" -  Slave-.                           |

| 2...5 |     .               |

|   6   | "0" -       |

|   7   | "1" -   :     |


                         3

               "Master"/"Slave".


|             |  | 1  |     2      |
|                     |  |        | Master | Slave |

| Conner 3114             |  /ACT     |   on   |    *   |   *   |
|                         |  /CD      |   on   |   on   |  off  |
|                         |  /HSP     |   off  |   off  |   **  |
|                         |  /DSP     |   off  |   on   |  off  |

*)               
    .   /ACT  /HSP    39 
           .
**)   -Slave,      -
         39  "Slave present",   
       


|             |  | 1  |     2      |
|                     |  |        | Master   Slave |

| Quantum ProDrive        |   DS      |   on   |   on   |  off  |
| 40AT, 80AT, 52AT, 105AT |   SS      |   off  |   on   |  off  |

       "DS - off"  "SS - on" ,  
    .


|             |  | 1  |     2      |
|                     |  |        | Master   Slave |

| Seagate                 |    1-2    |   on   |   on   |  off  |
| ST125A, ST138A, ST157A  |    3-4    |   off  |   on   |  on   |



                          4

                  AT-

-------------------------------------------------------------------
|   |             |                             |
|(Hex) |                    |                                     |
-------------------------------------------------------------------
|  1X  | Recalibrate        |         0. |
|  2X  | Read Sector        |      :    1   |
|      |                    | 256 ,      |
|      |                    | .                            |
|  20  | Read Sector        |      ;   - |
|      | with retry         |          |
|      |                    |    - |
|      |                    |  .                         |
|  21  | Read Sector        |      ;   - |
|      | no retry           |        |
|      |                    | .                             |
|  22  | Read Sector        |      ;      |
|      | long with retry    |      - |
|      |                    |       |
|      |                    | (  ).    |
|  23  | Read Sector        |        22h,    - |
|      | long no retry      |  .                     |
|  3X  | Write Sector       |      :    1 |
|      |                    |  256     - |
|      |                    | .  30h, 31h, 32h  33h  |
|      |                    |   "Read Sector ...".            |
|  4X  | Read Verify Sector |      :    - |
|      |                    |     - |
|      |                    | .                                |
|  40  | Read Verify Sector |        - |
|      | with retry         |     .     |
|  41  | Read Verify Sector |        - |
|      | no retry           |  .                       |
|  50  | Format Track       |           |
|      |                    | (.  ).               |
|  7X  | Seek               |           |
|      |                    | .                            |
|  90  | Exec Drive         |        |
|      |                    | .                               |
|  91  | Set Drive          |           |
|      | Parameter          |   . |
|  C4* | Read Multiple      |        20h,   |
|      |                    |       |
|      |                    | .                               |
|  C5* | Write Multiple     |        30h,   |
|      |                    |       |
|      |                    | .                               |
|  C6* | Set Multiple       |          |
|      |                    |     C4h    C5h    |
|      |                    | 1F2h.                               |
|  E4  | Read Sect Buffer   |      512     - |
|      |                    | .                               |
|  E8  | Write Sect Buffer  |      512        |
|      |                    | .                            |
|  EC  | Identify Drive     |          |
|      |                    | (, ,     , |
|      |                    |  ,    , |
|      |                    | ,          |
|      |                    | ..).                              |
|  EF* | Cache On/Off       |     / - |
|      |                    | :                        |
|      |                    | "55h"  1F1h -  ,        |
|      |                    | "AAh"  1F1h -  .         |
|  EX* | Power Commands     |        .  |
|  E0* | Standby Mode       |         , |
|      |                    |         |
|      |                    | .                         |
|  E1* | Idle Mode          |       .   |
|  E2* | Auto Power Down    |         , |
|      |                    |       |
|      |                    | ,    |
|      |                    |   5  (1F2h).          |
|  E3* | Auto Power Down    |           |
|      |                    |    E2h.              |
|  E5* | Read Power Mode    |       1F2h   - |
|      |                    |  .                      |
|  E6* | Sleep Mode         |      ,  |
|      |                    |    (  |
|      |                    | ).                        |
|  FX* | Power Save         |      F8h, F9h, FAh, FBh, FDh |
|      |                    |     E0h...E5h,    |
|      |                    |     0,1  - |
|      |                    | .                              |
|  F0**| Set Configuration  |     -    - |
|      |                    | .                                |
|      | Read Configuration |       .    |
|      | Defect List        |        .   |

 * -  ,   .
** -       Quantum;   -
  1F2h...1F6h.

